package com.chengqj;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright: Copyright (c) 2020
 * 该类的功能描述
 *
 * @author fengxx
 * @version v1.0.0
 * @date 2020/8/21 15:27
 * <p>
 * Modification History:
 * Date          Author      Version     Description
 * ---------------------------------------------------------*
 * 2020/8/21    fengxx      v1.0.0         新增
 */
@RestController
@RequestMapping("demo")
public class DemoController {
    @Autowired
    private TccTransactionService tccTransactionService;
    @GetMapping("/test")
    public String test(){
        tccTransactionService.doTransactionCommit();
        return "";
    }

}
